From 1413c2729772592fe7891a02bd939eb6f5a63e0a Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Mon, 5 Sep 2005 14:48:44 +0000 Subject: [PATCH] Pass live flag as number, not "True"/"False". Signed-off-by: Christian Limpach --- tools/python/xen/xend/XendCheckpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendCheckpoint.py b/tools/python/xen/xend/XendCheckpoint.py index 39616bd079..7a0f43fc7d 100644 --- a/tools/python/xen/xend/XendCheckpoint.py +++ b/tools/python/xen/xend/XendCheckpoint.py @@ -48,7 +48,7 @@ def save(xd, fd, dominfo, live): # simply uses the defaults compiled into libxenguest; see the comments # and/or code in xc_linux_save() for more information. cmd = [PATH_XC_SAVE, str(xc.handle()), str(fd), - str(dominfo.id), "0", "0", str(live) ] + str(dominfo.id), "0", "0", str(int(live)) ] log.info("[xc_save] " + join(cmd)) child = xPopen3(cmd, True, -1, [fd, xc.handle()]) -- 2.30.2